package com.ruoyi.core.service;

import java.util.List;
import com.ruoyi.core.domain.BatchActivationCodeSummary;
import com.ruoyi.core.domain.ClientProduct;
import com.ruoyi.core.domain.custombean.BatchActivationCodeSummaryListQueryResult;
import com.ruoyi.core.vo.BatchActivationCodeSummaryCreateOperationVo;

/**
 * batch_coreService接口
 * 
 * @author ruoyi
 * @date 2020-09-28
 */
public interface IBatchActivationCodeSummaryService
{
    /**
     * 查询batch_core
     * 
     * @param id batch_coreID
     * @return batch_core
     */
    public BatchActivationCodeSummary selectBatchActivationCodeRecordById(Long id);

    /**
     * 查询batch_core列表
     * 
     * @param batchActivationCodeRecord batch_core
     * @return batch_core集合
     */
    public List<BatchActivationCodeSummary> selectBatchActivationCodeRecordList(BatchActivationCodeSummary batchActivationCodeRecord);

    /**
     * 新增batch_core
     * 
     * @param batchActivationCodeSummaryCreateVo batch_core
     * @return 结果
     */
    public int createBatchActivationCodeSummary(BatchActivationCodeSummaryCreateOperationVo batchActivationCodeSummaryCreateVo);

    /**
     * 修改batch_core
     * 
     * @param batchActivationCodeRecord batch_core
     * @return 结果
     */
    public int updateBatchActivationCodeRecord(BatchActivationCodeSummary batchActivationCodeRecord);

    /**
     * 批量删除batch_core
     * 
     * @param ids 需要删除的batch_coreID
     * @return 结果
     */
    public boolean deleteBatchActivationCodeRecordByIds(Long[] ids);

    /**
     * 删除batch_core信息
     * 
     * @param id batch_coreID
     * @return 结果
     */
    public int deleteBatchActivationCodeRecordById(Long id);

    List<BatchActivationCodeSummaryListQueryResult> findAll();

    List<ClientProduct> findClientProductByBatchId(Long batchId);
}
